<!-- 个人中心账号设置 -->
<extend name="Base/common" />
<block name="body">
    <div class="wrapper-sm padd clear">
        <!--用户 -->
        <div class="self-side-l fl">
            {$selfHtml}
            <div class="self-hot-con">
                <include file="Template/hot" />
            </div>
        </div>
        <!-- 账号设置 -->
        <div class="self-side-content fr">
            <div class="code-setup box">
                <h2 class="fs-20 padd-lr v-align"> <i class="icon icon-code-setup mar-r5"></i> <span>账号设置</span></h2>
            </div>
            <div class="box mar-t20">
                <div class="code-item-setup">
                    <form action="{:U('User/resetPwd')}" method="POST" class="setting-form">
                        <div class="code-change-setup code-setup feedback-setup">
                            <h2 class="bor-bott1 v-align">
                            <span>修改密码</span> 
                            <a class="fr js-edit-pass btn-sure btn-primary btn-lg  mar-t10 mar-r10" href="javascript:;">编辑</a>
                            <button class="fr btn-sure btn-primary btn-lg btn-submit mar-t10 mar-r10" style="display:none" type="submit">提交</button>
                        </h2>
                        </div>
                        <div class="toggler-target" style="display: block">
                            <div class="code-change-pass padd">
                                <ul class="v-align ul-col-2">
                                    <li class="box mar-t20"><span>原始密码</span><input type="password" name="old" value="" disabled><i class="icon icon-delete hide"></i></li>
                                    <li class="box mar-t20"><span>新密码</span><input type="password" name="password" value="" disabled><i class="icon icon-delete hide"></i></li>
                                    <li class="box mar-t20"><span>确认密码</span><input type="password" name="repassword" value="" disabled><i class="icon icon-delete hide"></i></li>
                                </ul>
                            </div>
                            <div class="code-change-mess self-detail_text">您可以在此凭借原始密码修改您的登录密码，修改后<br>您的登录密码为新密码，原始密码将失效。</div>
                        </div>
                    </form>
                </div>
                <div class="code-item-setup ">
                    <form action="{:U('User/feedback')}" method="POST" class="setting-form">
                        <div class="code-change-setup code-setup feedback-setup">
                            <h2 class="bor-bott1 v-align"><span>意见反馈</span> 
                               <a class="fr js-edit btn-sure btn-primary btn-lg  mar-t10 mar-r10" href="javascript:;">编辑</a>
                               <button class="fr btn-sure btn-primary btn-lg btn-submit mar-t10 mar-r10" style="display:none" type="submit">提交</button>
                            </h2>
                        </div>
                        <div class="" style="display: block">
                            <div class="self-feedback padd">
                                <div class="fl self-feedback-text">
                                    <span>意见反馈</span>
                                </div>
                                <div class="self-feedback-input">
                                    <textarea name="content" id="textarea" cols="45" rows="5" disabled>{$feedback}</textarea>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</block>
<block name="script">
    <script type="text/javascript">
    $(function() {
        return $(".toggler").click(function() {
            var s = $(this);
            return s.next(".toggler-target").stop().slideToggle(), s.find(".padd-lr").text(s.find(".padd-lr").text().indexOf('收') > -1 ? '展开' : '收起');
        }), $(".icon-delete").click(function() {
            return $(this).prev('input').val('').focus();
        });
    });
    </script>
</block>